package com.coocaa.ops.plus.dashboard.v1.auth.service;

import com.coocaa.ops.common.core.base.model.R;
import com.coocaa.ops.plus.dashboard.v1.auth.model.MyAccountModel;
import com.coocaa.ops.plus.dashboard.v1.auth.model.PlusConfigInfo;

import javax.servlet.http.HttpServletRequest;

/**
 * @author bijiahao
 * @date : 2019/6/24.
 * @description
 *     扩展模块-登录验证接口
 *
 */
public interface IPlusLoginService {
    /**
     * 获取配置信息
     *
     * @return
     */
    PlusConfigInfo getPlusConfigInfo(HttpServletRequest request);
    /**
     * 登录验证
     *
     * @param accountModel
     * @return
     */
    R login(MyAccountModel accountModel, HttpServletRequest request);
}
